package com.linktrip.devicemanager.control.device;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
@RequestMapping(value = "/redirect")
public class RedirectControl {

	@RequestMapping(value = "/deviceslist.lt")
	public String getDeviceInfo() {
		return "/WEB-INF/device/deviceslist";
	}

	@RequestMapping(value = "/deviceDetails.lt")
	public String getDeviceDetails() {
		return "/WEB-INF/device/deviceDetails";
	}

	@RequestMapping(value = "/devicesloglist.lt")
	public String getDevicesloglist() {
		return "/WEB-INF/device/devicesloglist";
	}

	@RequestMapping(value = "/main.lt")
	public String getMain() {
		return "/WEB-INF/main/main";
	}
	
	@RequestMapping(value = "/smslist.lt")
	public String getSMSList() {
		return "/WEB-INF/sms/smslist";
	}
	
	@RequestMapping(value = "/upgrade.lt")
	public String getUpgradePage() {
		return "/WEB-INF/sw/upgrade";
	}
	
	@RequestMapping(value = "/tools.lt")
	public String getToolPage() {
		return "/WEB-INF/tool/tools";
	}

	@RequestMapping(value = "/welcome.lt")
	public String getwelcome() {
		return "/WEB-INF/main/welcome";
	}

	@RequestMapping(value = "/loginPage.lt")
	public String getLoginPage() {
		return "/WEB-INF/login";
	}

}
